home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.save / 000044_fdc@panix.com_Fri Dec 22 17:06:40 2006.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Path: reader2.panix.com!reader1.panix.com!panix!not-for-mail
  2. From: Frank da Cruz <fdc@panix.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: ftp check usage
  5. Date: Fri, 22 Dec 2006 22:06:32 +0000 (UTC)
  6. Organization: PANIX Public Access Internet and UNIX, NYC
  7. Lines: 47
  8. Message-ID: <slrneooln8.grv.fdc@panix3.panix.com>
  9. References: <1166820118.724272.114490@80g2000cwy.googlegroups.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: panix3.panix.com
  12. X-Trace: reader2.panix.com 1166825192 13210 166.84.1.3 (22 Dec 2006 22:06:32 GMT)
  13. X-Complaints-To: abuse@panix.com
  14. NNTP-Posting-Date: Fri, 22 Dec 2006 22:06:32 +0000 (UTC)
  15. User-Agent: slrn/0.9.8.0 (NetBSD)
  16. Xref: panix comp.protocols.kermit.misc:15615
  17.  
  18. On 2006-12-22, robt <robt@publicans.com> wrote:
  19. : I have recently downloaded c-kermit 8.0.211 for solaris and am having a
  20. : problem using the 'ftp check' command.  I always receive a successful
  21. : return status whether the file exists on the remote server or not.  Any
  22. : help would be greatly appreciated.  Thanks.
  23. :
  24. Use SET FTP DEBUG ON to see what's happening.  Here's what happens when
  25. the connection and the FTP server are functioning properly.  First we
  26. make the connection, CD, and enable debugging:
  27.  
  28.   C-Kermit>ftp open kermit.columbia.edu /anonymous
  29.   Connected to kermit.columbia.edu.
  30.   C-Kermit>cd kermit/a
  31.   C-Kermit>set ftp debug on
  32.  
  33. Now we try FTP CHECK for a file known to exist:
  34.  
  35.   C-Kermit>ftp check aavers.txt
  36.   ---> TYPE A
  37.   200 Type set to A.
  38.   ---> PASV
  39.   227 Entering Passive Mode (128,59,29,214,202,133)
  40.   ---> NLST aavers.txt
  41.   150 Opening ASCII mode data connection for file list.
  42.   226 Transfer complete.
  43.   LISTFILE: /tmp/ckOPaOze
  44.   [aavers.txt]
  45.   C-Kermit>status
  46.    SUCCESS
  47.   C-Kermit>
  48.  
  49. And now for a file known not to exist:
  50.  
  51.   C-Kermit>ftp check lkjlkjlkj
  52.   ---> TYPE A
  53.   200 Type set to A.
  54.   ---> PASV
  55.   227 Entering Passive Mode (128,59,29,214,202,153)
  56.   ---> NLST lkjlkjlkj
  57.   550 lkjlkjlkj: No such file or directory.
  58.   C-Kermit>status
  59.    FAILURE
  60.   C-Kermit>
  61.  
  62. Works OK here!
  63.  
  64. - Frank